package cn.hd.userService.service.role;

import cn.hd.commonService.entity.SysFunction;
import cn.hd.commonService.vo.Query;
import cn.hd.commonService.entity.SysRole;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * created by dsl on 2022/6/28
 */
public interface SysRoleService extends IService<SysRole> {

    public void saveOrUpdateRole(SysRole sysRole);

    public void batchDelete(String roleIds);

    public IPage<SysRole> getListByPage(Query query,String roleName);

    public List<SysRole> getRoleList(List<Integer> roleIds);

    List<SysFunction> getFunctionListByRoleId(int roleId);
}
